package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试信息对象 tra_exam
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class TraExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 期号 */
    @Excel(name = "期号")
    private String issueId;

    /** 教室ID */
    @Excel(name = "教室ID")
    private String classroomId;

    /** 座位号 */
    @Excel(name = "座位号")
    private String seatNo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 报名时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationTime;

    /** 培训课时 */
    @Excel(name = "培训课时")
    private Long learningHour;

    /** 报名状态 */
    @Excel(name = "报名状态")
    private Long registrationState;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 准考证号 */
    @Excel(name = "准考证号")
    private String examRegistrationNumber;

    /** 总分 */
    @Excel(name = "总分")
    private Long totalScore;

    /** 考试状态 */
    @Excel(name = "考试状态")
    private Long state;

    /** 从业人员ID */
    @Excel(name = "从业人员ID")
    private String employeeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIssueId(String issueId) 
    {
        this.issueId = issueId;
    }

    public String getIssueId() 
    {
        return issueId;
    }
    public void setClassroomId(String classroomId) 
    {
        this.classroomId = classroomId;
    }

    public String getClassroomId() 
    {
        return classroomId;
    }
    public void setSeatNo(String seatNo) 
    {
        this.seatNo = seatNo;
    }

    public String getSeatNo() 
    {
        return seatNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setRegistrationTime(Date registrationTime) 
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime() 
    {
        return registrationTime;
    }
    public void setLearningHour(Long learningHour) 
    {
        this.learningHour = learningHour;
    }

    public Long getLearningHour() 
    {
        return learningHour;
    }
    public void setRegistrationState(Long registrationState) 
    {
        this.registrationState = registrationState;
    }

    public Long getRegistrationState() 
    {
        return registrationState;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setExamRegistrationNumber(String examRegistrationNumber) 
    {
        this.examRegistrationNumber = examRegistrationNumber;
    }

    public String getExamRegistrationNumber() 
    {
        return examRegistrationNumber;
    }
    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("issueId", getIssueId())
            .append("classroomId", getClassroomId())
            .append("seatNo", getSeatNo())
            .append("name", getName())
            .append("idNumber", getIdNumber())
            .append("registrationTime", getRegistrationTime())
            .append("learningHour", getLearningHour())
            .append("registrationState", getRegistrationState())
            .append("memo", getMemo())
            .append("examRegistrationNumber", getExamRegistrationNumber())
            .append("totalScore", getTotalScore())
            .append("state", getState())
            .append("employeeId", getEmployeeId())
            .toString();
    }
}
